CRPEValueInfo
This structure contains parameter field value information.
Data Members
Each data member is set by the corresponding constructor parameter.
Member
| Type
| Default
| Description
|
m_valueType
| WORD
| PEP_VI_ NUMBER
| Specifies the data type of the parameter field. The Crystal Report Engine supports the following data types and associated constants.
|
|
| Data Type
| Constant
|
|
| Number
| PEP_VI_NUMBER
|
|
| Currency
| PEP_VI_CURRENCY
|
|
| Boolean
| PEP_VI_BOOLEAN
|
|
| Date
| PEP_VI_DATE
|
|
| String
| PEP_VI_STRING
|
|
| Date/Time
| PEP_VI_DATETIME
|
|
| Time
| PEP_VI_TIME
|
|
| Integer
| PEP_VI_INTEGER
|
|
| Color
| PEP_VI_COLOR
|
|
| Char
| PEP_VI_CHAR
|
|
| Long
| PEP_VI_LONG
|
|
| NoValue
| PEP_VI_NOVALUE
|
Member
| Type
| Default
| Description
|
m_viNumber
| double
| 0
| Specifies the value if the parameter is a numeric value.
|
m_viCurrency
| double
| 0
| Specifies the value if the parameter is a currency value.
|
m_viBoolean
| BOOL
| FALSE
| Specifies the value if the parameter is a Boolean value.
|
m_viString
| _TCHAR
| \0'
| Specifies the string (of length PEP_VI_STRING_LEN = 256, NULL-terminated) value if the parameter is a string
|
m_viDate
| short
| 0, 0, 0
| Specifies the value if the parameter is a date value (year, month, day).
|
m_viDate Time
| short
| 0, 0, 0, 0, 0, 0
| Specifies the value if the parameter is a date/time value (year, month, day, hour, minute, second).
|
m_viTime
| short
| 0, 0, 0
| Specifies the value if the parameter is a time value (hour, minute, second).
|
m_viColor
| COLOREF
| 0X00000000
| For future support of color parameters.
|
m_viInteger
| short
| 0
| For future support of integer parameters.
|
m_viC
| _TCHAR
| '\0'
| For future support of character parameters.
|
m_ignored
| _TCHAR
| '\0'
| For 4 byte alignment. Ignored. Do not use.
|
m_viLong
| long
| 0
| For future support of long parameters.
|
Constructor CRPEValueInfo::CRPEValueInfo
This constructs a CRPEValueInfo structure object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.
Constructor Syntax (Default)
CRPEValueInfo ();
Constructor Syntax
CRPEValueInfo (
WORD StructSize,
WORD valueType,
double viNumber,
double viCurrency,
BOOL viBoolean,
_TCHAR viString,
short viDate,
short viDateTime,
short viTime,
COLORREF viColor,
short viInteger,
_TCHAR viC,
_TCHAR ignored,
long viLong );